package com.jcsz.gulimall.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @className: ThreadPoolConfigProperties
 * @author: 一把Po吉他
 * @date: 2022/11/7 18:01
 * @version: 1.0
 **/
@ConfigurationProperties(prefix = "gulimall.thread")
@Data
public class ThreadPoolConfigProperties {
    /**
     * 核心线程数
     */
    private Integer coreSize;
    /**
     * 最大核心线程数
     */
    private Integer maxSize;
    /**
     * 存活时间
     */
    private Integer KeepAliveTime;
}
